package com.secsbrain.development.biz;

import com.secsbrain.development.dal.model.DeployApproval;
import com.secsbrain.development.web.dto.ApproveDeployDTO;
import com.baomidou.framework.service.ISuperService;

/**
 *
 * DeployApproval 表数据服务层接口
 *
 */
public interface IDeployApprovalService extends ISuperService<DeployApproval> {

	/**
	 * 功能描述: <br>
	 * 发起单实例/A组发布审批申请
	 *
	 * @param deployApproval
	 */
	void singleDeployApproval(DeployApproval deployApproval);
	
	/**
	 * 功能描述: <br>
	 * 发起B组发布审批申请
	 *
	 * @param groupId
	 * @param envName
	 */
	void groupBApproval(Long groupId,String envName);
	
	/**
	 * 功能描述: <br>
	 * 发布申请
	 *
	 * @param approveProjectDTO
	 */
	void approve(ApproveDeployDTO approveProjectDTO);
	
}